using Dew.Math;
using Dew.Math.Units;
namespace Dew.Examples()
{
void Example()
{
TOpenCLValue a, b;
clMtxVec.CreateIt(
out a,
out b);
try
{
b.Copy(3);
a.ThresholdGT_LT(b, 2.3,3.4,1,0.5);
// a = [3.4]
}
finally
{
clMtxVec.FreeIt(
ref a,
ref b);
}
}
}